package com.wpml.order.entity;

  

import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 订单项信息 实体类
 * @author wangpei
 * @since 2020-04-07 12:32:22
 */
@Data
@ToString
@Accessors(chain = true)
@TableName("oms_order_item")
public class OrderItemModel implements Serializable {
    private static final long serialVersionUID = 395949555108286655L;

    @TableId
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("order_id")
    private Long orderId;

    @ApiModelProperty("order_sn")
    private String orderSn;

    @ApiModelProperty("spu_id")
    private Long spuId;

    @ApiModelProperty("spu_name")
    private String spuName;

    @ApiModelProperty("spu_pic")
    private String spuPic;

    @ApiModelProperty("品牌")
    private String spuBrand;

    @ApiModelProperty("商品分类id")
    private Long categoryId;

    @ApiModelProperty("商品sku编号")
    private Long skuId;

    @ApiModelProperty("商品sku名字")
    private String skuName;

    @ApiModelProperty("商品sku图片")
    private String skuPic;

    @ApiModelProperty("商品sku价格")
    private Double skuPrice;

    @ApiModelProperty("商品购买的数量")
    private Integer skuQuantity;

    @ApiModelProperty("商品销售属性组合（JSON）")
    private String skuAttrsVals;

    @ApiModelProperty("商品促销分解金额")
    private Double promotionAmount;

    @ApiModelProperty("优惠券优惠分解金额")
    private Double couponAmount;

    @ApiModelProperty("积分优惠分解金额")
    private Double integrationAmount;

    @ApiModelProperty("该商品经过优惠后的分解金额")
    private Double realAmount;

    @ApiModelProperty("赠送积分")
    private Integer giftIntegration;

    @ApiModelProperty("赠送成长值")
    private Integer giftGrowth;


}